]> dgit.raspbian.org Git - gnome-shell.git/commit
overviewControls: use translations for explicit slide in/out
authorCosimo Cecchi <cosimoc@gnome.org>
Sat, 16 Feb 2013 01:50:26 +0000 (20:50 -0500)
committerCosimo Cecchi <cosimoc@gnome.org>
Sat, 16 Feb 2013 04:47:13 +0000 (23:47 -0500)
commit41406e3be29751982a75dd4c7192f17fcf9163c1
tree2cd35d59978660cc66232b857f1a3a07f2823890
parent7ed4bd67b87f0876ab6a16c83f11ef2f41f05ea6
overviewControls: use translations for explicit slide in/out

The slideX property controls the allocation of the view selector; since
we now know when there are no visible views from the page-empty signal,
we can use it to set the full slideX for the next page at that time,
allowing the new view to fade in with the right width.
This allows us to use simple x translations for the side components when
switching pages, keeping the noise due to resizes at the minimum.

The slideX resize for now is kept for DnD, and will always be needed for
the thumbnails box when showing the windows page.

https://bugzilla.gnome.org/show_bug.cgi?id=693924
js/ui/overviewControls.js